//designpatterns.flyweight.extend.IgoChessman.java
package com.lx.design.demo.liu.wei.designpatterns.flyweight.extend;

//围棋棋子类：抽象享元类
public abstract class IgoChessman {
	public abstract String getColor();
	
	public void display(Coordinates coord){
		System.out.println("棋子颜色：" + this.getColor() + "，棋子位置：" + coord.getX() + "，" + coord.getY() );	
	}
}

